﻿CREATE TABLE [dbo].[RegistrosProveedores] (
    [IdRegistro]  INT NOT NULL,
    [IdProveedor] INT NOT NULL,
    CONSTRAINT [PK_RegistrosProveedores] PRIMARY KEY CLUSTERED ([IdRegistro] ASC),
    CONSTRAINT [FK_RegistrosProveedores_Proveedores] FOREIGN KEY ([IdProveedor]) REFERENCES [dbo].[Proveedores] ([IdProveedor]),
    CONSTRAINT [FK_RegistrosProveedores_Registros] FOREIGN KEY ([IdRegistro]) REFERENCES [dbo].[Registros] ([IdRegistro])
);

